package hva.team2.viavia.sensors.location;

/**
 * Created by sempere on 19/07/13.
 */
import android.util.Log;
import java.util.Timer;
import java.util.TimerTask;

import hva.team2.viavia.Master;

public class GPSTask extends TimerTask {

        @Override
        public void run() {
            Log.e("TimerTask", "run()");
            GPSStore.getInstance();
            if (GPSStore.getInstance().getLocation() != null) {
                Log.e("TimerTask",
                        Double.toString(GPSStore.getInstance().getLocation()
                                .getLatitude()));
                Log.e("TimerTask",
                        Double.toString(GPSStore.getInstance().getLocation()
                                .getLongitude()));
            }
        }
    }


/*
      //DEBUG

*/